<template>
  <div class="pageOut">
    <div class="pageIn">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="首页Banner" name="1">
          <Banner :height="height" />
        </el-tab-pane>
        <el-tab-pane label="分类Banner" name="3">
          <ClassBanner :height="height" />
        </el-tab-pane>
        <el-tab-pane label="设备Banner" name="4">
          <DeviceBanner :height="height" />
        </el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
import Banner from "./Banner";
import ClassBanner from "./ClassBanner";
import DeviceBanner from "./DeviceBanner";
export default {
  name: "BannerContent",
  props: ["height"],
  data() {
    return {
      activeName: "1",
      userInfo: {}, //用户登录信息
      name: "",
    };
  },
  components: {
    Banner,
    ClassBanner,
    DeviceBanner,
  },
  created() {
    // this.getLimits();
  },
  methods: {
    handleClick(tab) {
      // console.log(tab);
    },
  },
};
</script>

<style scoped>
</style>
